#include <iostream>
#include <fstream>

#ifdef SYPX_MEMCHECK
#include "mmgr.h"
#endif

#include "ErrorLogger.h"

namespace SypX
{
	
	ErrorLogger::OutputMode ErrorLogger::mode = CONSOLE;
	
	void ErrorLogger::setOutputMode(OutputMode m)
	{
		mode = m;
	}

	std::ostream& ErrorLogger::getLogger()
	{
		if(mode == CONSOLE)
		{
			return std::cout;
		}
		else
		{
			return std::cout;//temp
		}
	}	

}